/**
 * @desc 睡眠等待
 * @param {number} duration 等待时间，单位毫秒
 */
exports.sleep = function (duration) {
    return new Promise((resolve) => setTimeout(resolve, duration));
};
